vcPdfRecorder

The vcPdfRecorder is used to record a simulation to an animated PDF file.

See in: Overview

Module: vcCore

Parent: -

Children -

Referenced by: vcApplication.PdfRecorder

Properties

Learn how to use properties here. The properties are also inherited from the parent class.

NameTypeAccessDescription
IsRecordingBooleanRGets whether a PDF recording is in progress or not.
OutputFilePathStringRGets the path where the recording will be saved.

Methods

Learn how to use methods here. The methods are also inherited from the parent class.

NameReturn TypeParametersDescription
startNoneOptional Keyword[outputFilePath = String],
Optional Keyword[frameRate = Integer]
Starts the recording.
See more
Parameters:
Optional: outputFilePath (str): The path of the output file. Default value is {MyDocumentsFolder}\Report.pdf.
Optional: frameRate (int): The frame rate of the recording. Default value is 24.

Exceptions:
ValueError: When the frame rate is invalid (e.g. negative).
RuntimeError: When a PDF recording is already in progress.
RuntimeError: When a video recording is already in progress.
stopNoneNoneStops the recording.

Exceptions:
RuntimeError: When no PDF recording is in progress.